/********************************************************************
	TABAL ENGINE - 2012/11/12
	author:		Marc Cuscullola
	
	purpose:	Manages all the static meshes.
*********************************************************************/
#pragma once

#ifndef __STATIC_MESH_MANAGER__INCLUDED_H__
#define __STATIC_MESH_MANAGER__INCLUDED_H__

#include "Maps/VectorMapManager.h"
#include "StaticMesh.h"
#include <string>

class CRenderManager;

class CStaticMeshManager
{
public:
	CStaticMeshManager();
	~CStaticMeshManager();

	bool	Load	(const std::string& _filename);
	bool	Reload	();
	void	CleanUp	();

	void	Render	(CRenderManager* _pRM);

private:
	bool	LoadFile();

private:
	std::string		m_sFilename;

	CVectorMapManager<CStaticMesh>	m_StaticMeshMap;
};

#endif //__STATIC_MESH_MANAGER__INCLUDED_H__